Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated added RTMP support. fixes #559 #634

Closed
wants to merge 3 commits into from
Closed

updated added RTMP support. fixes #559 #634

wants to merge 3 commits into from

Conversation

bdeitte
Copy link
Contributor

@bdeitte bdeitte commented Jul 11, 2013

This request takes in #605 and adds the following:

  • updated video-js.swf based on Updated updated RTMP provider. fixes #8 video-js-swf#27
  • change the URL parsing to use '&' as the delimiter. We've seen this work quite well with Brightcove. The first '&' seen will be used. If there is no '&', then the last '/' is used
  • add unit tests for the URL parsing changes

@@ -357,6 +389,11 @@ vjs.Flash.checkReady = function(tech){
// Trigger events from the swf on the player
vjs.Flash['onEvent'] = function(swfID, eventName){
var player = vjs.el(swfID)['player'];
// ugly, but it smooths over progress and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an issue that this refers to? Or can you elaborate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iamjem can you answer this? I don't know what this was about myself.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was specific to the RTMP playback. I was noticing instances where playback would end, but the currenttime and duration components weren't finishing their count up or down. Its possible this has been fixed, and it may be worth re-testing since this was first implemented with version 3 of the codebase.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested streams provided from @bdeitte along with some personal Cloudfront streams with RTMP/RTMPT/RTMPE (seems RTMPS requires additional work to use, may not even be supported by Akamai/Amazon) and this bandaid doesn't seem necessary anymore. Time codes update correctly, progress bar completes, and I get the "ended" event firing at the correct time.

I've removed it in my 559-rtmp-support branch (which should also include other recent RTMP changes from Brian, and from 1 and 2). I think this covers all of the outstanding items we had.

@bdeitte bdeitte mentioned this pull request Aug 14, 2013
@heff
Copy link
Member

heff commented Aug 23, 2013

Added through #605

@heff heff closed this Aug 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants